import { PropType } from 'vue';
import { IContext, IParam } from '@/core';
declare type noValueShowModeType = 'DEFAULT' | 'STYLE1';
export const spanProps = {
	name: {
		type: String,
	},
	value: {
		type: [String, Number, Object],
	},
	dataType: {
		type: Number,
		default: 0,
	},
	unitName: {
		type: String,
		default: '',
	},
	precision: {
		type: Number,
		default: 2,
	},
	valueFormat: {
		type: String,
	},
	data: {
		type: Object as PropType<IParam>,
	},
	codeListTag: {
		type: String,
	},
	codeListType: {
		type: String,
	},
	context: {
		type: Object as PropType<IContext>,
	},
	viewParams: {
		type: Object as PropType<IParam>,
	},
	localContext: {
		type: Object as PropType<IParam>,
	},
	localParam: {
		type: Object as PropType<IParam>,
	},
	showSourceMode: {
		type: Boolean,
		default: false,
	},
	noValueShowMode: {
		type: String as PropType<noValueShowModeType>,
		default: 'DEFAULT',
	},
	editorType: {
		type: String,
	},
};
